package com.ylsk.check.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ylsk.common.core.domain.MybatisPlusBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ylsk.common.annotation.Excel;
import com.ylsk.common.core.domain.BaseEntity;

/**
 * 施工检查项记录对象 ins_check_item_record
 *
 * @author yangsy
 * @date 2023-12-18
 */
@TableName("ins_check_item_record")
public class CheckItemRecord extends MybatisPlusBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 施工检查项记录id */
    @TableId
    private Long checkItemRecordId;

    /** 施工检查记录id */
    @Excel(name = "施工检查记录id")
    private Long checkRecordId;

    /** 检查项id */
    @Excel(name = "检查项id")
    private Long checkItemId;

    /** 是否检查 */
    @Excel(name = "是否检查")
    private Integer isCheck;

    /** 检查结果 */
    @Excel(name = "检查结果")
    private Integer checkResult;

    /** 检查内容 */
    private String checkContent;

    /** 检查项名称 */
    @TableField(exist = false)//设置该属性为 false，表示在查询中不使用该字段
    private String checkItemName;
    public void setCheckItemRecordId(Long checkItemRecordId)
    {
        this.checkItemRecordId = checkItemRecordId;
    }

    public Long getCheckItemRecordId()
    {
        return checkItemRecordId;
    }
    public void setCheckRecordId(Long checkRecordId)
    {
        this.checkRecordId = checkRecordId;
    }

    public Long getCheckRecordId()
    {
        return checkRecordId;
    }
    public void setCheckItemId(Long checkItemId)
    {
        this.checkItemId = checkItemId;
    }

    public Long getCheckItemId()
    {
        return checkItemId;
    }
    public void setIsCheck(Integer isCheck)
    {
        this.isCheck = isCheck;
    }

    public Integer getIsCheck()
    {
        return isCheck;
    }
    public void setCheckResult(Integer checkResult)
    {
        this.checkResult = checkResult;
    }

    public Integer getCheckResult()
    {
        return checkResult;
    }
    public void setCheckContent(String checkContent)
    {
        this.checkContent = checkContent;
    }

    public String getCheckContent()
    {
        return checkContent;
    }

    public String getCheckItemName() {
        return checkItemName;
    }

    public void setCheckItemName(String checkItemName) {
        this.checkItemName = checkItemName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkItemRecordId", getCheckItemRecordId())
            .append("checkRecordId", getCheckRecordId())
            .append("checkItemId", getCheckItemId())
            .append("isCheck", getIsCheck())
            .append("checkResult", getCheckResult())
            .append("checkContent", getCheckContent())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
